package com.ck.ips.core.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "custom")
public class CustomProperties {
    /**
     * 异步线程池核心数
     */
    private Integer asyncCorePoolSize;
    /**
     * 异步线程池最大数
     */
    private Integer asyncMaxPoolSize;
    /**
     * 异步线程池队列数
     */
    private Integer asyncQueuePoolSize;
    /**
     * 默认session过期时间
     */
    private Integer sessionExpireDefault;

    /**
     * 节目压缩包中播放页面html中css,js路径前缀
     */
    private String programZipTemplateHtmlUrlDomain;

    /**
     * 前端页面支持跨域domain 配置
     */
    private String staticResourceDomain;

    /**
     * ffmpeg文件地址
     */
    private String ffmpeg;

    /**
     * 业务类型
     */
    private String businessType;
    public String getFfmpeg() {
        return ffmpeg;
    }

    public void setFfmpeg(String ffmpeg) {
        this.ffmpeg = ffmpeg;
    }

    public Integer getSessionExpireDefault() {
        return sessionExpireDefault;
    }

    public void setSessionExpireDefault(Integer sessionExpireDefault) {
        this.sessionExpireDefault = sessionExpireDefault;
    }

    public Integer getAsyncCorePoolSize() {
        return asyncCorePoolSize;
    }

    public void setAsyncCorePoolSize(Integer asyncCorePoolSize) {
        this.asyncCorePoolSize = asyncCorePoolSize;
    }

    public Integer getAsyncMaxPoolSize() {
        return asyncMaxPoolSize;
    }

    public void setAsyncMaxPoolSize(Integer asyncMaxPoolSize) {
        this.asyncMaxPoolSize = asyncMaxPoolSize;
    }

    public Integer getAsyncQueuePoolSize() {
        return asyncQueuePoolSize;
    }

    public void setAsyncQueuePoolSize(Integer asyncQueuePoolSize) {
        this.asyncQueuePoolSize = asyncQueuePoolSize;
    }

    public String getProgramZipTemplateHtmlUrlDomain() {
        return programZipTemplateHtmlUrlDomain;
    }

    public void setProgramZipTemplateHtmlUrlDomain(String programZipTemplateHtmlUrlDomain) {
        this.programZipTemplateHtmlUrlDomain = programZipTemplateHtmlUrlDomain;
    }

    public String getStaticResourceDomain() {
        return staticResourceDomain;
    }

    public void setStaticResourceDomain(String staticResourceDomain) {
        this.staticResourceDomain = staticResourceDomain;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }
}
